package com.example.oasystem.service;

import com.example.oasystem.entity.dept.AoaDept;
import com.example.oasystem.entity.position.AoaPosition;
import com.example.oasystem.entity.user.AoaUser;

import java.util.List;

public interface AoaPositionService {
    int deleteByPrimaryKey(Long positionId);

    int insert(AoaPosition record);

    int insertSelective(AoaPosition record);

    AoaPosition selectByPrimaryKey(Long positionId);

    int updateByPrimaryKeySelective(AoaPosition record);

    int updateByPrimaryKey(AoaPosition record);

    List<AoaPosition> aoaPosition(String name);

    AoaDept aoaDept(Long deptId);

    List<AoaDept> aoaDepts();

    List<AoaUser>users(Long positionId);

    List<AoaPosition> paginationPosition(String name,int number,int size);

    List<AoaPosition> selectAllPositions();

    List<AoaPosition> selectByDeptId(Long deptid);
}
